package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.NcTaskAddunion;
import cn.besbing.model.entities.primary.NcTaskAddunionExample;
import cn.besbing.model.mapper.primary.NcTaskAddunionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcTaskAddunionServiceImpl implements NcTaskAddunionMapper {
    
    @Autowired(required = false)
    NcTaskAddunionMapper ncTaskAddunionMapper;
    
    
    @Override
    public long countByExample(NcTaskAddunionExample example) {
        return ncTaskAddunionMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcTaskAddunionExample example) {
        return ncTaskAddunionMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkTaskAddunion) {
        return ncTaskAddunionMapper.deleteByPrimaryKey(pkTaskAddunion);
    }

    @Override
    public int insert(NcTaskAddunion record) {
        return ncTaskAddunionMapper.insert(record);
    }

    @Override
    public int insertSelective(NcTaskAddunion record) {
        return ncTaskAddunionMapper.insertSelective(record);
    }

    @Override
    public List<NcTaskAddunion> selectByExample(NcTaskAddunionExample example) {
        return ncTaskAddunionMapper.selectByExample(example);
    }

    @Override
    public NcTaskAddunion selectByPrimaryKey(String pkTaskAddunion) {
        return ncTaskAddunionMapper.selectByPrimaryKey(pkTaskAddunion);
    }

    @Override
    public int updateByExampleSelective(NcTaskAddunion record, NcTaskAddunionExample example) {
        return ncTaskAddunionMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcTaskAddunion record, NcTaskAddunionExample example) {
        return ncTaskAddunionMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcTaskAddunion record) {
        return ncTaskAddunionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcTaskAddunion record) {
        return ncTaskAddunionMapper.updateByPrimaryKey(record);
    }
}
